home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / zmdm.zoo / makefile.gcc < prev    next >
Makefile  |  1991-04-27  |  691b  |  38 lines

  1. #
  2. # Makefile for Gnu C
  3. #    Version 1.35 (or higher) required.
  4. #    
  5. #     Edit config.h before make'ing.
  6. #
  7. #    Jwahar Bammi
  8. #
  9. #
  10.  
  11. SRC = common.c rz.c sz.c transfer.c util.c main.c tyme.c zm.c fileio.c \
  12. ghi5025.s phone.c
  13.  
  14. OBJ =  fileio.o zm.o util.o rz.o sz.o common.o tyme.o transfer.o main.o \
  15. ghi5025.o phone.o
  16.  
  17. CC = cgcc
  18. CFLAGS = -O -mshort -fomit-frame-pointer -fcombine-regs -fstrength-reduce \
  19.  -W
  20. LDFLAGS = -s -mshort -liio16
  21. ALL = zmdm.ttp 
  22.  
  23. all : $(ALL)
  24.  
  25. zmdm.ttp : $(OBJ)
  26.     $(CC) -O -o zmdm.ttp $(OBJ) $(LDFLAGS)
  27.  
  28. $(OBJ) : common.h zmdm.h decl.h config.h proto.h
  29. transfer.o : expandar.c
  30.  
  31. ghi5025.o : ghi5025.s
  32.     $(CC) -c ghi5025.s
  33. clean:
  34.     rm -f *.o
  35.  
  36. realclean: clean
  37.     rm -f $(ALL) report core
  38.